home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
btrieve
/
xtr401.exe
/
MAKE_XTA.DOC
< prev
next >
Wrap
Text File
|
1988-06-08
|
3KB
|
84 lines
The utility, MAKE_XTA.EXE, translates Xtrieve definitions into ASCII
files, with a .XTA extension, which contain the keystrokes to rebuild
the definition. It can translate a file, view, or layout definition
their internal formats.
It is useful for moving a file definition from one dictionary to another,
for modifying definitions, or as a means of creating external documentation
for your definitions.
At the DOS prompt, type:
Make_xta /<Definition Type>:<Name>
[/D:<Dictionary Path>]
[/P:<Password>]
[/O:<Output>]
REQUIRED PARAMETERS
Only the first parameter is required. <Definition Type> must be one
of the following:
/V:"<View Name>"
<View Name> is the descriptive name of your view. The name must be
enclosed in double quotes and must be typed exactly as it appears in the
Xtrieve menu when recalling the view. MAKE_XTA uses the VIEW.DDF in the
current directory when converting views.
/L:<Layout Name>
<Layout Name> is the disk name of a layout you want to translate. You
do not have to specify a file extension. When a /L: is encountered,
".lyt" is automatically appended to the file name specified.
/F:"<Dictionary Name>"
<Dictionary Name> is the descriptive file name in your dictionary. The
name must be enclosed in double quotes and must be typed exactly as it
appears in the dictionary.
OPTIONAL PARAMETERS
/D:<Dictionary Path>
<Dictionary Path> is the directory where your dictionary files reside
(files with the extension ".ddf"). This parameter is not required if
your dictionary files are in the current directory.
/P:<Password>
This parameter is required when the dictionary you are accessing has
security installed. <Password> is the Master password for the dictionary
specified with the /D parameter (or the one in the current directory if
no /D specified).
/O:<Output>
<Output> is the disk file for the translated definition. You do not
need to include the file extension because ".xta" will be appended to
the name you specify. If this option is not specified, the output will
be written to the file, "Make_XTA.xta" in your current directory.
NOTE:
1) All parameters must be separated by at least 1 space.
2) The dictionary and password options are ignored when translating
layout files.
ERROR MESSAGES
Error codes for MAKE_XTA are the same as BTRIEVE error codes.
EXAMPLES
1) make_xta /F:"Address File" /D:b\: /O:address
This example will translate the definition of the file, Address File, from
the dictionary in the root directory on drive b:, and put the output in
"address.xta".
2) make_xta /V:"Address View" /O:addrV /P:fred /D:b:
This example will translate the view definition named "Address View".
The dictionary on drive b: will be accessed and the password is "fred".
The output will be in "addrv.xta".
3) make_xta /L:address
This example will translate the layout definition from "address.lyt".
The output will be in "Make_XTA.xta".